
#ifndef IMODEL_H
#define IMODEL_H

#include "comm.h"
#include <angelscript.h>
#include <ITrigger.h>

#ifdef __cplusplus
extern "C" {
#endif

class IModel
{
public:
	virtual ~IModel() {}
	virtual const std::string &getName() const = 0;
	virtual void config( asIScriptEngine *engine ){}

	void setTrigger(ITrigger& T);
};

#ifdef __cplusplus
}
#endif

#endif